/**
 * @format
 */

// import {AppRegistry} from 'react-native';
// import App from './App';
// import Login from './views/login/login';
// import {Provider as PaperProvider} from 'react-native-paper';
// import {name as appName} from './app.json';

// export default function Main() {
//   return (
//     <PaperProvider>
//       <App />
//     </PaperProvider>
//   );
// }

// AppRegistry.registerComponent(appName, () => Main);

import * as React from 'react';
import {AppRegistry} from 'react-native';
import {Provider as PaperProvider} from 'react-native-paper';
import {name as appName} from './app.json';
import Login from './views/login/login';
import Main2 from './views/main/main';
import Header from './views/header/header';
import Player from './views/player/player';
import Stack from './views/list/albumStack';
import LoginRouter from './views/login/loginRouter';
import Pwd from './views/vip/pwd';
// import App from './src/App';

export default function Main() {
  return (
    <PaperProvider>
      <LoginRouter />
    </PaperProvider>
  );
}

AppRegistry.registerComponent(appName, () => Main);
